<!DOCTYPE html>
<html lang="en" style="height: 100%;">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>格局商学太原物业管理分院</title>
    <!-- 在线视频 -->
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <script type="text/javascript" src="js/config.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <style type="text/css">
	    * {
	        margin: 0px;
	        padding: 0px;
	    }
    </style>
    <script type="text/javascript">
        $(function(){
            $.get(port+"api/v1/course_videos_list",function(res){
                console.log(JSON.parse(res.RESULT))
                var details = JSON.parse(res.RESULT);
                var html = '';
                for(var i=0;i<details.length;i++){
                    html += '<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12" style="margin-bottom:20px;padding:10px 24px;border-bottom: 1px solid #eaecef;">\
                        <div>\
                            '+details[i].video_url+'\
                        </div>\
                        <div>\
                            <a href="#" class="news-title" style="width:100%">\
                            '+details[i].video_abstract+'\
                            </a>\
                            <div>\
                                <div style="float: right;">\
                                    <span class="jiathis_txt">分享到：</span>\
                                    <a href="http://service.weibo.com/share/share.php?url='+port+'wechat/Course_video.html&title='+details[i].video_abstract+'&appkey=&pic=&asearchPic=true" target="_blank">\
                                        <img src="http://www.pmmtp.com/comdata/6478420/201704/20170401163445f558c1.png" title="分享到新浪微博" style="background: none;">\
                                    </a>\
                                    <a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+port+'wechat/Course_video.html&title='+details[i].video_abstract+'&desc=&summary=&site=&pics=" target="_blank">\
                                        <img src="http://www.pmmtp.com/comdata/6478420/201704/20170401135056d19177.png" title="分享到QQ空间" style="background: none;">\
                                    </a>\
                                </div>\
                            </div>\
                        </div>\
                    </div>'
                }
                $(".details")[0].innerHTML = html;
            })
        })
            
    </script>
</head>
<body style="padding-top: 40px;">
    <div style="background: red;text-align: center;color: #fff;line-height: 40px;position: fixed;width: 100%;z-index: 100;top: 0px;"><span>在线视频</span></div>
    
    <div class="container details">
        
    </div>



    <div id="foot"></div>
    <style type="text/css">
        html{height: 100%;}
    </style>
    <script type="text/javascript">
        $(function(){
            $("#foot").load("foot.html?t="+Math.random());
            $(".details").css("min-height",($("html").height()-$("#foot").height()-80)+"px");
            $.get(port+"api/v1/download_company_gifs",function(res){
                var detail = JSON.parse(res.RESULT1);
                $("#adress span").html(detail[0].company_address);
                $("#tel a").html(detail[0].company_phone);
            })
        })
    </script>

<!-- JiaThis Button BEGIN -->
<script type="text/javascript" src="http://v3.jiathis.com/code/jiathis_r.js?type=left&amp;move=0&amp;btn=l4.gif" charset="utf-8"></script>
<!-- JiaThis Button END -->
</body>

</html>